package cn.ffcs.uec.staff.manager.impl;

import javax.annotation.Resource;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Service;

import cn.ffcs.uec.outStaff.model.UecOutStaffInfo;
import cn.ffcs.uec.staff.dao.UecPsndocWadocDao;
import cn.ffcs.uec.staff.manager.UecPsndocWadocManager;
import cn.ffcs.uec.staff.model.UecPsndocWadoc;
import cn.ffcs.uom.common.vo.PageInfo;

@Service("uecPsndocWadocManager")
@Scope("prototype")
public class UecPsndocWadocManagerImpl implements UecPsndocWadocManager {

	@Resource
	private UecPsndocWadocDao uecPsndocWadocDao;

	@Override
	public PageInfo queryPageInfoByUecPsndocWadoc(
			UecPsndocWadoc uecPsndocWadoc, int current, int pageSize) {
		return uecPsndocWadocDao.queryPageInfoByUecPsndocWadoc(uecPsndocWadoc,
				current, pageSize);
	}

	@Override
	public PageInfo queryPsndocWadocPageInfoByUecOutStaffInfo(UecOutStaffInfo uecOutStaffInfo, int current,
			int pageSize) {
		return uecPsndocWadocDao.queryPsndocWadocPageInfoByUecOutStaffInfo(uecOutStaffInfo, current, pageSize);
	}

	@Override
	public UecPsndocWadoc findObjectByUecPsndocWadoc(UecPsndocWadoc uecPsndocWadoc) {
		return uecPsndocWadocDao.findObjectByUecPsndocWadoc(uecPsndocWadoc);
	}

	@Override
	public UecPsndocWadoc findUecPsndocWadocById(UecPsndocWadoc uecPsndocWadoc) {
		return uecPsndocWadocDao.findUecPsndocWadocById(uecPsndocWadoc);
	}

	@Override
	public UecPsndocWadoc findUecPsndocWadocOnApproval(
			UecPsndocWadoc uecPsndocWadoc) {
		return uecPsndocWadocDao.findUecPsndocWadocOnApproval(uecPsndocWadoc);
	}

	

}
